package ModelLayer;



public class Order
{
    private Customer buyer;
    private Specimen specimen;
    private Staff staff;
    private int orderID;
    public Order(Customer newCustomer, Specimen newSpecimen, Staff newStaff,int orderID)
    {
        this.orderID = orderID;
//         this.total = 0;
//         this.saleDate = saleDate;
        buyer = newCustomer;
        specimen = newSpecimen;
        staff = newStaff;
    }
    public int getOrderID()
    {
        return orderID;
    }
//     public double getTotal()
//     {
//         return total;
//     }
//     public String getSaleDate()
//     {
//         return saleDate;
//     }
    public void setCustomer(Customer newCustomer)
    {
        buyer = newCustomer;
    }
    public void setSpecimen(Specimen newSpecimen)
    {
        specimen = newSpecimen;
    }
    public void setStaff(Staff newStaff)
    {
        staff = newStaff;
    }
    public Customer getCustomer()
    {
        return buyer;
    }
   
}
